 /*
  *Copyright (c) 2003, 2018, UMF and/or its affiliates. All rights reserved.
  *
  */
 package com.leeler.feign;

 import org.springframework.cloud.netflix.feign.FeignClient;
 import org.springframework.web.bind.annotation.PathVariable;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;

 /**
  * @program: demo
  * @description: TODO
  * @author: lile
  * @create: 2019-08-21 18:21
  **/
 @FeignClient(name = "account", fallbackFactory = AccountServerFeignClientWithFactory.class)
 public interface AccontServerFeignClient {


     @RequestMapping(value = "/account/{userId}",method = RequestMethod.GET)
     public String queryUserAccount(@PathVariable("userId") String uerId);
 }
